import 'package:campus_order/config/router_page_name.dart';
import 'package:campus_order/pages/app/home/view.dart';
import 'package:campus_order/pages/app/merchant/food_management/view.dart';
import 'package:campus_order/pages/app/merchant/home/view.dart';
import 'package:campus_order/pages/app/merchant/order_management/view.dart';
import 'package:campus_order/pages/app/mine/view.dart';
import 'package:campus_order/pages/app/order_food/confirm_order/view.dart';
import 'package:campus_order/pages/app/order_food/view.dart';
import 'package:campus_order/pages/app/order_list/view.dart';
import 'package:campus_order/pages/app/view.dart';
import 'package:get/get_navigation/src/routes/get_route.dart';

import '../pages/login_account/view.dart';
import '../pages/register_account/view.dart';
import '../pages/splash/view.dart';

class RouterPages{
  static List<GetPage> getTeacherPages = <GetPage>[
    ///启动页
    GetPage(name: RouterPageName.splashPage, page: () => SplashPage()),

    ///登录页面
    GetPage(name: RouterPageName.loginAccountPage, page: () => LoginAccountPage()),

    ///注册页面
    GetPage(name: RouterPageName.registerAccountPage, page: () => RegisterAccountPage()),

    ///主容器
    GetPage(name: RouterPageName.appPage, page: () => AppPage()),

    ///首页
    GetPage(name: RouterPageName.homePage, page: () => HomePage()),

    ///点餐页面
    GetPage(name: RouterPageName.orderFoodPage, page: () => OrderFoodPage()),

    ///订单页面
    GetPage(name: RouterPageName.orderListPage, page: () => OrderListPage()),

    ///我的页面
    GetPage(name: RouterPageName.minePage, page: () => MinePage()),

    ///确认支付页面
    GetPage(name: RouterPageName.confirmOrderPage, page: () => ConfirmOrderPage()),

    ///商家首页
    GetPage(name: RouterPageName.merchantHomePage, page: () => MerchantHomePage()),

    ///商家订单管理页面
    GetPage(name: RouterPageName.merchantOrderManagementPage, page: () => OrderManagementPage()),

    ///商家菜品管理页面
    GetPage(name: RouterPageName.merchantFoodManagementPage, page: () => FoodManagementPage()),
  ];
}